Skip to content

CI improvements to get publishing of rust bindings to work#18

Merged
shsms merged 6 commits intofrequenz-floss:v0.x.xfrom
shsms:ci-improvements
Nov 24, 2025
Merged

CI improvements to get publishing of rust bindings to work#18
shsms merged 6 commits intofrequenz-floss:v0.x.xfrom
shsms:ci-improvements

Conversation

@shsms
Copy link
Collaborator

@shsms shsms commented Nov 24, 2025

No description provided.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
@shsms shsms requested a review from a team as a code owner November 24, 2025 20:50
@shsms shsms requested review from Marenz and Copilot November 24, 2025 20:50
@github-actions github-actions bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Nov 24, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the CI workflow from using python -m build to maturin-action for building Rust Python bindings, enabling proper wheel generation for multiple platforms and architectures.

  • Replaces single build job with separate platform-specific jobs using PyO3's maturin-action
  • Adds support for building wheels for multiple Linux variants (manylinux and musllinux), Windows, and macOS on both x86_64 and aarch64
  • Updates artifact naming scheme from dist-packages-* to wheels-* pattern
  • Adds separate sdist build job and improves artifact handling in release and PyPI publishing steps

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@shsms
Copy link
Collaborator Author

shsms commented Nov 24, 2025

Maturin ignores rc tags and uses the version from the Cargo.toml file. So rc5 got released as v0.1.0, and it is this PR.

So I'm taking this in as it is, and doing further stuff in subsequent PRs.

Gotta remember that for subsequent releases, the cargo.toml file has to be updated with the new version.

@shsms shsms merged commit 4818298 into frequenz-floss:v0.x.x Nov 24, 2025
193 of 208 checks passed
@shsms shsms deleted the ci-improvements branch November 24, 2025 20:56
@shsms
Copy link
Collaborator Author

shsms commented Nov 25, 2025

FYI @llucax . If you have comments, can make them in a new PR. Or cleanup later, when we add this to repo-config.

@shsms shsms mentioned this pull request Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants